procedure GoToSleep(showDialog : boolean);

Puts the PowerBook to sleep.  If show dialog is TRUE then you are asked to confirm sleep, if FALSE it goes directly to sleep.